﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace TO3.Models
{
    public class Player
    {
        public int Id { get; set; }
        [Display(Name = "Navn")]
        public string Name { get; set; }
        [Display(Name = "Location")]
        public int LocationId { get; set; }
        public virtual Location Location { get; set; }
        public virtual ICollection<Match> Matches { get; set; }
        public virtual ICollection<TournamentRegistration> TournamentRegistrations { get; set; }
    }
}